package com.naiterui.ehp.bs.b2c.order.vo;

import java.util.Date;
import java.util.List;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;

import lombok.Builder;
import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author guoyongxiang
 * @date 2019-01-10 21:21
 * @since 1.0.0
 */
@Data
@Builder
public class OrderInfoVO implements java.io.Serializable {

    private static final long serialVersionUID = 2707251232277000349L;
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "订单状态")
    private Integer status;

    @ApiModelProperty(value = "订单状态名")
    private String statusName;

    @Fen2Yuan
    @ApiModelProperty(value = "商品总额")
    private Integer totalAmount;

    @Fen2Yuan
    @ApiModelProperty(value = "邮费")
    private Integer freight;

    @Fen2Yuan
    @ApiModelProperty(value = "优惠减免")
    private Integer couponPay;

    @Fen2Yuan
    @ApiModelProperty(value = "实付金额")
    private Integer realPay;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value = "配送方式")
    private String carrier;

    @ApiModelProperty(value = "商品列表")
    private List<OrderItemVO> items;

    @ApiModelProperty(value = "收件人信息")
    private OrderReceiverVO receiverInfo;

    @ApiModelProperty(value = "发票信息")
    private OrderInfoInvoiceVO invoice;

    @ApiModelProperty(value = "是否有物流信息(0:无,1:有)")
    private Integer hasShippingInfo;

    @ApiModelProperty(value = "订单备注")
    private String remark;

    @ApiModelProperty(value = "提示信息")
    private String tips;

    /**
     * 商品数量
     */
    @ApiModelProperty(value = "商品数量")
    private Integer itemQuantity;

}
